<!--
 * @Author: maomao
 * @Date: 2021-03-26 17:34:41
 * @Description: 刷新中转站
 * @FilePath: \clientapp\src\layouts\refresh.vue
-->

<template>
  <div class="refresh"></div>
</template>
 
<script lang='ts'>
import { Vue } from "vue-class-component"


export default class Refresh extends Vue {
  beforeRouteEnter (to, from, next) {
    next(vm => {
      vm.$router.replace(from.path)
    })
  }
}
 
</script>